<div class="form-group notice">
    <label class="col-sm-2 control-label">商家通知</label>
    <div class="col-sm-9 col-xs-12">
        {ife 'creditshop.goods' $item}
        {php echo tpl_selector('noticeopenid',array('key'=>'openid','text'=>'nickname', 'thumb'=>'avatar', 'placeholder'=>'昵称/姓名/手机号','buttontext'=>'选择通知人', 'items'=>$saler,'url'=>webUrl('member/query') ))}
        <span class="help-block">如果用户中奖，可指定某个商家用户，通知商品下单备货通知,如果商品为同一商家，建议使用系统统一设置</span>
        {else}
        <div class='form-control-static'>
            {if !empty($saler)}<img  style="width:100px;height:100px;border:1px solid #ccc;padding:1px" src="{$saler['avatar']}"/>{else}无{/if}
        </div>
        {/if}
    </div>
</div>
<div class="form-group">
    <label class="col-sm-2 control-label">提供商家</label>
    <div class="col-sm-9 col-xs-12">
        {ife 'creditshop.goods' $item}
            <input type='text' class='form-control' name='subtitle' value="{$item['subtitle']}" />
        {else}
            <div class='form-control-static'>{$item['subtitle']}</div>
        {/if}
    </div>
</div>

<div class="form-group">
    <label class="col-sm-2 control-label">商家介绍</label>
    <div class="col-sm-9 col-xs-12">
        {ife 'creditshop.goods' $item}
            {php echo tpl_ueditor('subdetail', $item['subdetail'], array('height'=>200))}
        {else}
            <textarea id='subdetail' style='display:none'>{$item['subdetail']}</textarea>
            <a href='javascript:preview_html("#subdetail")' class="btn btn-default">查看内容</a>
        {/if}
    </div>
</div>
